LanguageExt.Core

LanguageExt.Core DataTypes Ratio

Contents

struct Ratio <A> Source #

A ratio between two values.

This is used in the definition of Fractional.

Fields

field A Numerator Source #

The numerator of the ratio, in non-reduced form.

field A Denominator Source #

The denominator of the ratio, in non-reduced form.

Constructors

constructor Ratio (A num, A den) Source #